/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Models;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;

/**
 *
 * @author Cham to tet
 */
@ManagedBean(name = "accountBean")
@RequestScoped
public class Account {

    int ID, companyID, driversID;
    String email, password;
    Boolean status;

    public int getID() {
        return ID;
    }

    public void setID(int ID) {
        this.ID = ID;
    }

    public int getCompanyID() {
        return companyID;
    }

    public void setCompanyID(int companyID) {
        this.companyID = companyID;
    }

    public Boolean getStatus() {
        return status;
    }

    public void setStatus(Boolean status) {
        this.status = status;
    }

    public int getDriversID() {
        return driversID;
    }

    public void setDriversID(int driversID) {
        this.driversID = driversID;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    /** Creates a new instance of Account */
    public Account() {
    }

    public Account(int ID, int companyID, int driversID, String email, String password, Boolean status) {
        this.ID = ID;
        this.companyID = companyID;
        this.driversID = driversID;
        this.email = email;
        this.password = password;
        this.status = status;
    }
    
}
